package com.ztgf.sys.models.service;

import com.baomidou.mybatisplus.plugins.Page;
import com.baomidou.mybatisplus.service.IService;
import com.ztgf.sys.models.bo.SysInvoiceBO;
import com.ztgf.sys.models.bo.SysInvoiceQueryBO;
import com.ztgf.sys.models.bo.SysInvoiceSaveBO;
import com.ztgf.sys.models.dto.SysInvoiceDTO;
import com.ztgf.sys.models.vo.SysInvoiceVO;

/**
 * 平台开票服务
 *
 * @author liyang
 * @Date 2021-05-26 11:50:37
 */
public interface ISysInvoiceService extends IService<SysInvoiceDTO> {
    boolean add(SysInvoiceSaveBO saveBO);

    boolean saveInvoice(SysInvoiceBO bo); //店铺申请开票

    Page<SysInvoiceVO> queryPageList(SysInvoiceQueryBO bo); //平台开票列表

    boolean updateSysInvoice(SysInvoiceSaveBO saveBO, String sessionId, String toString); //平台开票

    boolean updateSysInvoiceById(SysInvoiceDTO sysInvoiceDTO);
}
